home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Shareware / Programare / winhex / Ext Inode.txt < prev    next >
Text File  |  2005-05-02  |  996b  |  43 lines

  1. template "Ext2/Ext3 Inode"
  2.  
  3. // Template by Eoghan Casey
  4. // Created on 02/28/04.
  5.  
  6. // Modified by Jens Kirschner
  7. // on 29 Sep 2004
  8.  
  9. description "Contains a file's meta information (for Inode size 128 bytes)"
  10. applies_to disk
  11. multiple
  12.  
  13. begin
  14.     octal uint16    "File mode"
  15.     uint16    "Owner uid"
  16.     uint32    "Size in bytes (low 4 bytes)"
  17.     UNIXDateTime    "Access time"
  18.     UNIXDateTime    "Inode change"
  19.     UNIXDateTime    "Modification"
  20.     UNIXDateTime    "Deletion"
  21.     uint16    "Group id"
  22.     uint16    "Hard links count"
  23.     uint32    "Sector count"
  24.     uint32    "File flags"
  25.     uint32    "OS dependent"
  26.     numbering 1
  27.     {
  28.         uint32    "Direct block #~"
  29.     } [12]
  30.     uint32    "Indirect block"
  31.     uint32    "Double indirect block"
  32.     uint32    "Triple indirect block"
  33.     uint32    "File version"
  34.     uint32    "File ACL"
  35.     uint32    "Size in bytes (high 4 bytes)"
  36.     uint32    "Fragment address"
  37.     uint8        "Fragment #"
  38.     uint8        "Fragment size"
  39.     uint16    "Padding"
  40.     hex 4        "Reserved"
  41.     goto 0
  42.     move 128 // Change this for a different Inode size (128: default)
  43. end